package com.bristua.mall.user.dao;

import com.bristua.mall.user.model.TUserCollection;
import com.bristua.mall.user.model.condition.TUserCollectionExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TUserCollectionMapper {
    int countByExample(TUserCollectionExample example);

    int deleteByExample(TUserCollectionExample example);

    int deleteByPrimaryKey(String userCollectionId);

    int insert(TUserCollection record);

    int insertSelective(TUserCollection record);

    List<TUserCollection> selectByExample(TUserCollectionExample example);

    TUserCollection selectByPrimaryKey(String userCollectionId);

    int updateByExampleSelective(@Param("record") TUserCollection record, @Param("example") TUserCollectionExample example);

    int updateByExample(@Param("record") TUserCollection record, @Param("example") TUserCollectionExample example);

    int updateByPrimaryKeySelective(TUserCollection record);

    int updateByPrimaryKey(TUserCollection record);
}